#include <stdio.h>

int main(void)
{
	char str[] = "abcdefg";
	char *p = str;

	printf("%c\n", *p++);
	printf("%s\n\n", p);

	printf("%c\n", *(p++));
	printf("%s\n\n", p);

	printf("%c\n", (*p)++);
	printf("%s\n\n", p);

	printf("%c\n", *++p);
	printf("%s\n\n", p);

	printf("%c\n", ++*p);
	printf("%s\n\n", p);

	return 0;
}
